<div ms-controller="pushList" class="pushList">
	<div class="userTop">
		<h2 class="title">推送列表</h2>
		<div class="topMain clearfix">
			<select class="selectSize" ms-duplex="status">
				<option value="">消息状态</option>
				<option value="2">推送成功</option>
				<option value="3">推送失败</option>
			</select>
			<input type="text" class="inputSize" placeholder="请输入关键字" ms-duplex='title'/>
			<button class="btn1" ms-click='pushList'>搜索</button>
			<button class="btnAdd" ms-click="addMess">新增消息</button>
		</div>
	</div>
	<table class="table table-striped">
		<thead>
			<tr>
				<th>消息名称</th>
				<th>消息内容</th>
				<th>推送时间</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ms-repeat="list">
				<td>{{el.title}}</td>
				<td>{{el.content}}</td>
				<td>{{el.sendtime | date("yyyy-MM-dd HH:mm:ss")}}</td>
				<td><label ms-if="el.status == 2">推送成功</label><label ms-if="el.status == 3">推送失败</label></td>
				<td class="edit">
					<div ms-click="editMess(el.id)">
						<i class="iconfont">&#xe611;</i>
						<h1>查看</h1>
					</div>
					<div ms-click = "removeRemote($index, $remove,el.id)">
						<i class="iconfont">&#xe60d;</i>
						<h1>删除</h1>
					</div>
				</td>
			</tr>
		</tbody>
	</table>
</div>